<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>新致双录云平台</title>
<meta name="description" content="微营销管理平台">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="../../assets/img/main/liantongLOGO.jpg">
<link rel="apple-touch-icon-precomposed"
	href="../../assets/libs/amazeui/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet"
	href="../../assets/libs/amazeui/css/amazeui.min.css" />
<link rel="stylesheet"
	href="../../assets/libs/amazeui/css/amazeui.datatables.min.css" />
<link rel="stylesheet" href="../../assets/libs/amazeui/css/app.css">
<link rel="stylesheet" href="../../assets/css/core.css?v2017010301">

</head>

<body data-type="index" page-text="机构管理" style="overflow: hidden">
	<!--
			Conductor:Kangmengmeng
			Author:Jiangna
			Time:2016.12.07 14:00
		-->
	<div id="main" class="am-g tpl-g" v-cloak>
		<!-- 内容区域 -->
		<div class="tpl-content-wrapper content-margin-left">
			<!-- TODO 内容显示区域 -->

			<div class="row-content am-cf">
				<div class="row">

					<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
						<!--第一个-->
						<div class="widget am-cf">
							<div class="widget-head am-cf">
								<div class="widget-title  am-cf">{{title}}</div>
							</div>
							<div class="widget-body  am-fr">
								<form class="am-form tpl-form-border-form tpl-form-border-br">
									<!--<fieldset disabled>-->
									<div class="am-u-sm-12 am-u-sm-12 am-u-sm-12 del-padding">
										<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-4">
											<label for="role-no" class="am-form-label am-u-sm-4">机构ID<span
												style="color: red">*</span></label>
											<div class="am-u-sm-6 am-u-sm-pull-2">
												<input type="text" class="tpl-form-input" id="role-no"
													placeholder="请输入机构ID" v-model="branchId">
											</div>
										</div>
										<div
											class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-4">
											<label for="role-no" class="am-form-label am-u-sm-4">机构名称<span
												style="color: red">*</span></label>
	
											<div class="am-u-sm-6 am-u-sm-pull-2">
												<input type="text" class="tpl-form-input" id="role-no"
													placeholder="请输入机构名称" v-model="branchName">
											</div>
										</div>
										<div
											class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-4">
											<label for="role-name" class="am-form-label am-u-sm-4">机构简称<span
												style="color: red">*</span></label>
	
											<div class="am-u-sm-6 am-u-sm-pull-2">
												<input type="text" class="tpl-form-input" id="role-name"
													placeholder="请输入机构简称" v-model="branchAbbr">
											</div>
										</div>
                                        <div v-if="edit" class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-4">
											<label class="am-form-label am-u-sm-3">状态</label>
											<div class="am-u-sm-6 am-u-sm-pull-3">
												<select v-model="status" @change="statusValue(event)">
													<option value="">--请选择状态--</option>
													<option v-for="(item,index) in statusList" :key="index"
														:value="item.value">{{item.status}}</option>

													<!-- <option v-for="item of agentCates" v-bind:value="item.code">{{item.name}}</option> -->
												</select>
											</div>
										</div>
										
									</div>
									
									<div class="am-form-group am-u-sm-12">
										<div
											class="am-u-sm-9 am-u-sm-push-3 am-u-md-7 am-u-md-push-5 am-u-lg-7 am-u-lg-push-5">
											<button type="button"
												class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs"
												@click="add()">
												<span class="am-icon-save"></span>&nbsp;保存
											</button>
											<button type="button"
												class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs"
												@click="goBtn()">
												<span class="am-icon-backward"></span>&nbsp;返回
											</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
        </div>
        <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert1">
            <div class="am-modal-dialog">
                <div class="am-modal-hd">提示</div>
                <div class="am-modal-bd" style="height:60px;">
                      {{tipMsg}}
                </div>
                <div class="am-modal-footer">
                    <!-- <span  class="am-modal-btn" @click="confirmBtn">确定</span> -->
                    <span class="am-modal-btn"  data-am-modal-confirm>确定</span>
                </div>
            </div>
        </div>
	</div>
	<script src="../../assets/js/util/crypto-js.min.js"></script>
	<script src="../../assets/js/util/Aes.js"></script>
	<script src="../../assets/libs/amazeui/js/jquery.min.js"></script>
	<script src="../../assets/libs/vue/vue.min.js"></script>
	<script src="../../assets/libs/amazeui/js/theme.js"></script>
	<script src="../../assets/libs/amazeui/js/amazeui.min.js"></script>
	<script src="../../assets/libs/amazeui/js/amazeui.datatables.min.js"></script>
	<script src="../../assets/libs/amazeui/js/dataTables.responsive.min.js"></script>
	<script src="../../assets/js/util/inner.js?v2017010301"></script>
    <script src="../../assets/env.js?v2017010301"></script>
    <script src="../../assets/libs/axios.min.js"></script>
	<script src="../../assets/js/util/common.js?v2017010301"></script>
	<script src="../../assets/js/biz/sys/organization/add.js?v2017010301"></script>

</body>

</html>